var literal;
literal = 0;
function merge2(a, b, dataType) {
    if (dataType === 'is String' && dataType === 'is String') {
        return a.toString() + b.toString();
    }
    if (typeof a === 'number' && typeof b === 'number') {
        return a + b;
    }
}
console.log(merge2(100, 200, "is Number"));
console.log(merge2(100, 200, "is String"));
console.log(merge2("hello", " simon", "is String"));
